<!DOCTYPE html>
<html lang="en"  xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>admin</title>
    <style>
        div{
            text-align:center;
        }
        table{
            margin :auto auto auto auto;
        }
    </style>
</head>
<body>
    <div>
        <form method="get" action="/admin/login">
            <table>
                <tr>
                    <td colspan="2" th:text="${msg}"></td>
                </tr>
                <tr>
                    <td>管理员:</td>
                    <td><input type="text" name="name"></td>
                </tr>
                <tr>
                    <td>密码:</td>
                    <td><input type="password " name="password"></td>
                </tr>
                <tr>
                    <td><input type="submit" value="登录"></td>
                </tr>
            </table>
        </form>
    </div>

</body>
</html>